package com.ruoyi.common.core.domain.e_enterprise;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 部门信息对象 e_department
 * 
 * @author JYW
 * @date 2024-01-30
 */
public class EDepartment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 部门编号 */
    @Excel(name = "部门编号")
    private String dNumber;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String dName;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String postBox;

    /** 办公地址 */
    @Excel(name = "办公地址")
    private String address;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setdNumber(String dNumber) 
    {
        this.dNumber = dNumber;
    }

    public String getdNumber() 
    {
        return dNumber;
    }
    public void setdName(String dName) 
    {
        this.dName = dName;
    }

    public String getdName() 
    {
        return dName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPostBox(String postBox) 
    {
        this.postBox = postBox;
    }

    public String getPostBox() 
    {
        return postBox;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dNumber", getdNumber())
            .append("dName", getdName())
            .append("phone", getPhone())
            .append("postBox", getPostBox())
            .append("address", getAddress())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
